home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / fbrain.zip / FBRAIN.DOC < prev    next >
Text File  |  1992-11-14  |  8KB  |  191 lines

  1.  
  2.                                  FILE BRAIN
  3.                       (C) Copyright 1992 by Stanley Sheff
  4.                         Support BBS: The Brainex System
  5.                                (310) 275-2344
  6.                                (310) 273-5234
  7.    
  8.  
  9.  
  10.  
  11.    File Brain is a replacement for the normal file testing routine used in
  12.    your BBS's upload routine.  Your BBS should be able to generate a data
  13.    file such as DOOR.SYS, and run a batch file after an upload. You will 
  14.    need at least 400K of RAM and DOS 3.3 or higher. (File Brain uses the  
  15.    @ECHO OFF command, earlier DOS does support the @ symbol!).
  16.    
  17.    This door requires the use of the Brainex Door Manager system.
  18.    if you have not installed the door manager, please do so before you
  19.    attempt to use this door.
  20.  
  21.    GAP BBS uses UPCHECK.BAT. Also, be sure to include a LOGON.BAT file
  22.    in your default (GAP) directory to generate a log on DOOR.SYS file.
  23.    When GAP sees this, it generates a DOOR.SYS file. There need not be
  24.    anything in this file other than @ECHO OFF.
  25.    
  26.    File Brain processes files with extenders of ZIP, LZH, ARJ, GIF, and ARC. 
  27.    
  28.    File Brain will do the following after an upload:
  29.  
  30.    o Check for Duplicate CDROM files (If you use Rombrain!)
  31.    o Test for CRC errors in the .ZIP file.
  32.    o Test for imbedded .ZIP files and if found, CRC check those too.
  33.    o Test for imbedded .TD0 (Teledisk) files and if found, test with TDCHECK.
  34.    o Virus SCAN imbedded EXE and COM files, using SCAN.EXE from McAffey.
  35.    o Remove all .ZIP comments from the file.
  36.    o Replace .ZIP comments with your own. (Optional)
  37.    o Delete unwanted BBS ads and/or other unwanted ZIP members as you define.
  38.    o Test .GIF files for validity if you accept that file format (Optional)
  39.    o Reject programs older than a date (year) which you specify.
  40.    o Extract FILE_ID.DIZ if present, format to 45 or 70(GAP) cols., 10 lines,
  41.      and add newest file date if FILE_ID.DIZ is under 10 lines in length.
  42.    o Extract DESC.SDI if present
  43.    o Use a RAMDISK for temporary files, increasing speed (Optional)
  44.                                                                         
  45.    Included is a file called UTILITY.ZIP, with the following files:
  46.  
  47.         PKZIP.EXE   - Phil Katz archive create program (version 1.01)
  48.         PKUNZIP.EXE - Phil Katz archive extract program (version 1.01)
  49.         PKPAK.EXE   - Archive Program from PKWARE   
  50.         PKUNPAK.EXE - Archive Program from PKWARE   
  51.         LHA.EXE     - Archive Program by Haruyasu Yoshizaki   
  52.         ARJ.EXE     - Archive Program by Robert K. Jung
  53.         TDCHECK.EXE - .TD0 (Teledisk) checker from SyDex (any version)
  54.         SCAN.EXE    - McAffey's virus detection program (any version)
  55.                       or a Virus Checker of your choice.  
  56.         RECOM.EXE   - Mike Loewen's ZIP file comment remover/date stamper.
  57.         GIFTEST     - Dave Navarro's .GIF file tester
  58.         DELF.COM    - A version of DEL with no "Are you sure?" prompt 
  59.                       written by Jeffrey S. Morley.
  60.  
  61.    These files must be in your PATH, and may require registration for
  62.    continued use. PLEASE SUPPORT SHAREWARE AND DO SO!
  63.  
  64.     
  65.     File Brain Files
  66.     ----------------
  67.     FBRAIN.EXE    <------------------ File Brain Program
  68.     FBRAIN.DOC    <------------------ Sysop's Information
  69.     REGISTER.DOC  <------------------ Registration information
  70.     BBSADS        <------------------ Unwanted BBS Ad Files (Optional)
  71.     NOTEST        <------------------ Don't test these file extenders
  72.     UTILITY.ZIP   <------------------ Utilities need by File Brain
  73.     FILE_ID.DIZ   <------------------ Brief File Description
  74.  
  75.    Bad uploads will be reported to a file named ERRORS.RPT located
  76.    in your designated "JUNK" directory.
  77.    
  78.    All of these files should be in this ZIP, if they are not, don't
  79.    take a chance! Call The Brainex System and get a good copy or view the 
  80.    file on a few local boards to see if you can find a complete copy.
  81.  
  82.    The setup of File Brain is simple, all you need to do is unzip
  83.    FBRAIN.ZIP into a temporary directory, then type SETUP.
  84.    
  85.    The File Brain files will be copied to your BRAINEX directory.
  86.    The BRAINSET program will run, and you can answer the File Brain
  87.    set up questions. 
  88.  
  89.    Be sure to create a directory for virus infected files.
  90.  
  91.    File Brain returns a DOS exit errorlevel of 1 if the program detects
  92.    a bad upload.  Good uploads will return error level 0.  
  93.                      
  94.    You can add a duplicate file check program, such as one that checks
  95.    files by CRC values.  Just run SETUP, then enter the name of the batch
  96.    file to the last option "DUPLICATE CHECKER Program."  If you do not
  97.    use this type of program, just enter NONE.
  98.  
  99.    The name of the complete drive\path\filename of the file being tested will
  100.    passed as a parameter to the batch file as %1. You do not need to do it.
  101.  
  102.    REM EXAMPLE: CRC.BAT
  103.    REM CHANGE TO TESTER'S DRIVE
  104.    D:
  105.    REM CHANGE TO TESTER'S DIRECTORY
  106.    CD \CRCTEST
  107.    REM RUN THE TESTER WITH %1 AS THE PASSED DRIVE\PATH\FILENAME.EXT OF TEST FILE
  108.    CRCTEST %1
  109.  
  110.     
  111.    ROMBRAIN 
  112.    ========
  113.    If you use the Brainex Door ROMBRAIN, you can also check your CDROM
  114.    filebase for dupes. When using the door manager to sett up the door, 
  115.    you will be asked to indicate the cdrom numbers to check. Enter the
  116.    numbers separated by a comma, or 0 for no CDROM checks.
  117.     
  118.     
  119.     To remove unwanted BBS ads, create a text file named BBSADS, then put
  120.     a file name for each ad on a separate line. If this file is not present,
  121.     file Brain will not try to remove BBS ads.
  122.  
  123.     Edit the file NOTEST to add extenders of files you don't want tested.
  124.  
  125.     Once you have used BRAINSET to install the door, you can use a batch 
  126.     file to run the door. A batch file for a GAP BBS might look like this:
  127.    
  128.      ECHO OFF
  129.      CD \BRAINEX   
  130.      FBRAIN FILE=%1
  131.      
  132.    %1 is the variable of the upload's DRIVE\PATH\FILENAME.EXT passed to
  133.    the batch file by the BBS after the upload. On GAP BBS the batch file
  134.    is named UPCHECK.BAT.
  135.  
  136.    For multinode operation, add the node number to the command line:
  137.  
  138.    FBRAIN NODE=1 FILE=%1
  139.    or
  140.    FBRAIN NODE=2 FILE=%1
  141.    etc.
  142.  
  143.    PCBOARD BBS
  144.    ===========
  145.    To read the PCBOARD.SYS file, add the following command after FBRAIN:
  146.  
  147.    DATA=PCBOARD.SYS
  148.  
  149.    To update file description with FILE_ID.DIZ add:
  150.  
  151.    UPDESC=%3
  152.  
  153.    Example PCBTEST.BAT file:
  154.  
  155.    @ECHO OFF
  156.    FBRAIN DATA=PCBOARD.SYS NODE=1 FILE=%1 UPDESC=%3 
  157.  
  158.    LOCAL MODE
  159.    ==========
  160.    You can run File Brain from the DOS command line or a batch file
  161.    without a drop file (door.sys, dorinfo1.def, etc.) by using the 
  162.    LOCAL command. Example:
  163.  
  164.    FBRAIN LOCAL FILE=C:\TEST\TESTFILE.ZIP
  165.  
  166.                            
  167.                            -*-     -*-     -*-
  168.  
  169.  
  170.    This version of File Brain is a DEMO. It is not crippled in any way,
  171.    but will only display your BBS NAME when registered. This door is 
  172.    released "As Is" and there is *NO* warranty or guarantee that it will 
  173.    work for you and not cause any problems. You have chosen to use this door, 
  174.    YOU are responsible for any unfortunate problems that may develop from 
  175.    its use or misuse. I will gladly listen to any suggestions or problems 
  176.    you may have, and I will do my best to fix whatever needs to be fixed. 
  177.    I can not be held responsible for any problems you may have, whether 
  178.    directly or indirectly due to the use of the door.
  179.    
  180.    Please read REGISTER.DOC for information on how you can register
  181.    your copy of File Brain. 
  182.    For complete support, contact PROFESSOR BRAINEX on The Brainex System.
  183.    Your questions will be quickly and cheerfully answered!
  184.  
  185.    Have Fun!
  186.    Stanley Sheff
  187.    The Brainex System
  188.    310-275-2344 HST
  189.    310-273-5234 V.32BIS/V,42BIS
  190.  
  191.